package view.sprite;

import view.ImageLoader;
import view.sprite.AddingCarSprite.TYPE;

public class AddingCarSprite extends BaseSprite {
	public enum TYPE {
		  CAR,
		  ARRIVE   
	}


	private TYPE type;
	

	public  AddingCarSprite(TYPE type) {
		this.type=type;
		if(type==TYPE.CAR)
			setCurrImage(ImageLoader.get().getImage(ImageLoader.CAR1));
		else
			setCurrImage(ImageLoader.get().getImage(ImageLoader.ARRIVE));
	}


	public TYPE getType() {
		return type;
	}


	public void setType(TYPE type) {
		this.type = type;
	}
	
}
